<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../../../css/mui.min.css">
		<link rel="stylesheet" href="../css/common.css">
		<link rel="stylesheet" href="../formal/css/body.css?1">
		<title>测试页面</title>
	</head>
	<body>
		<header class="mui-bar mui-bar-nav">
		    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		    <h1 class="mui-title">测试视频播放</h1>
		</header>
		<script src="../../../js/mui.min.js"></script>
		<script src="../../../js/jquery-3.2.1.min.js"></script>
		<div id="video_auto" style="padding:0 5%;width:90%; height: 200px;
		margin:5vh auto;z-index:-1;"></div>
		<script>
		mui.plusReady(function(){
			var videoStyle = {
				'src':'',
				'autoplay':true,'top':'70px',width:'100%',height:'100%','show-fullscreen-btn':false,
				'show-progress':true,'show-play-btn':false,'enable-progress-gesture':false
			};
			//加入视频
			var video = new plus.video.VideoPlayer('video_auto', videoStyle)
			setTimeout(function(){
				video.play();
				video.requestFullScreen(-90);//视频全屏播放，如果启用，
			},2000);
		});
		</script>
	</body>
</html>
